@echo off

pushd ..\..\
set Root=%CD%
popd

set Orchard=%Root%\Orchard
set OrchardSrc=%Root%\Orchard\src
set ModuleS=%OrchardSrc%\Orchard.Web\Modules
set OrchardWebBin=%OrchardSrc%\Orchard.Web\Bin
set OrchardQA=%Root%\Orchard.Test
set OrchardService=iis
set seleniumServer=%OrchardQA%\SeleniumServer\selenium-server-standalone-2.5.0.jar
if not exist %seleniumServer%  goto ConfigSeleniumServer

if "%ProgramFiles(x86)%" NEQ "" goto x64
goto x86

:x86
set HG="%ProgramFiles%\TortoiseHg\hg.exe"
goto eof

:x64
set HG=%ProgramFiles(x86)%\TortoiseHg\hg.exe
goto eof

:ConfigSeleniumServer
echo please configure correct selenium server path
goto eof

:eof
echo Show environment variables...

echo Root=%Root%
echo Orchard=%Orchard%
echo Modules=%Modules%
echo OrchardWebBin=%OrchardWebBin%
echo OrchardQA=%OrchardQA%
echo OrchardService=%OrchardService%
echo SeleniumServer=%SeleniumServer%
echo HG=%HG%
echo.



